This will be needed for GDK_WINDOW_SUBSURFACE windows.
https://bugzilla.gnome.org/show_bug.cgi?id=729215
display_wayland->data_device_manager =
wl_registry_bind(display_wayland->wl_registry, id,
&wl_data_device_manager_interface, 1);
+ } else if (strcmp (interface, "wl_subcompositor") == 0) {
+ display_wayland->subcompositor =
+ wl_registry_bind (display_wayland->wl_registry, id,
+ &wl_subcompositor_interface, 1);
}
}
struct gtk_shell *gtk_shell;
struct wl_input_device *input_device;
struct wl_data_device_manager *data_device_manager;
+ struct wl_subcompositor *subcompositor;
struct wl_cursor_theme *cursor_theme;
GHashTable *cursor_cache;